package com.myBase.core.entity;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

import com.myBase.core.base.entity.BaseEntity;
import com.myBase.core.util.EBeiGoldCoinDateUtil;

public class GoldCoinActivityFundInputVo extends BaseEntity<GoldCoinActivityFundInputVo> implements Serializable{

    private static final long serialVersionUID = 4372977072811920312L;

    /* id 主键-平台自动生成
    activityId 活动id-来自mgmt平台
    activityName 活动名称-来自mgmt平台
    begin 活动开始时间-时间格式
    end   活动结束时间-时间格式
    sumCash  本次活动总可用资金金额，单位：元，保留两位小数，bigdecimal
    canUseCash 可用资金-初始值和sunCash一致
    freezeCash 冻结资金-初始值为 0.00
    branchId  来源平台 易贷  MS_YIDAI   转赚   MS_ZZ */
    private String activityId;//唯一id-来自调用平台，比如mgmt

    private String activityName;//活动名称-来自调用平台，比如mgmt平台

    private Date begin;//活动开始时间 yyyy-MM-dd hh:mm:ss

    private Date end;//活动结束时间 yyyy-MM-dd hh:mm:ss

    private BigDecimal sumCash;//本次活动总可用资金金额，单位：元，保留两位小数

    private BigDecimal canUseCash;//可用资金-初始值和sunCash一致

    private BigDecimal freezeCash;//冻结资金-初始值为 0.00
    
    private String branchId;// 来源平台 易贷  MS_YIDAI   转赚   MS_ZZ
    
    private String capitalOrderId;//关联出入金zkbc:capital表的orderId,关联zkbc:money_record表的localOrderId


    public String getActivityId() {
        return activityId;
    }

    public void setActivityId(String activityId) {
        this.activityId = activityId;
    }

    public String getActivityName() {
        return activityName;
    }

    public void setActivityName(String activityName) {
        this.activityName = activityName;
    }

    public Date getBegin() {
        return begin;
    }

    public void setBegin(Date begin) {
        this.begin = begin;
    }

    public Date getEnd() {
        return end;
    }

    public void setEnd(Date end) {
        this.end = end;
    }

    public BigDecimal getSumCash() {
        return sumCash;
    }

    public void setSumCash(BigDecimal sumCash) {
        this.sumCash = sumCash;
    }

    public BigDecimal getCanUseCash() {
        return canUseCash;
    }

    public void setCanUseCash(BigDecimal canUseCash) {
        this.canUseCash = canUseCash;
    }

    public BigDecimal getFreezeCash() {
        return freezeCash;
    }

    public void setFreezeCash(BigDecimal freezeCash) {
        this.freezeCash = freezeCash;
    }

    public String getBranchId() {
		return branchId;
	}

	public void setBranchId(String branchId) {
		this.branchId = branchId;
	}

	
	public String getCapitalOrderId() {
		return capitalOrderId;
	}

	public void setCapitalOrderId(String capitalOrderId) {
		this.capitalOrderId = capitalOrderId;
	}

	@Override
    public String toString() {
        // TODO Auto-generated method stub
        return "GoldCoinActivityFundInputVo[activityId=" + activityId + ",activityName=" + activityName + ",begin="
                + EBeiGoldCoinDateUtil.getyyyyMMddHHmmss(begin) + ",end=" + EBeiGoldCoinDateUtil.getyyyyMMddHHmmss(end)
                + ",sumCash=" + sumCash + ",canUseCash=" + canUseCash + ",freezeCash=" + freezeCash+",branchId="+branchId+",capitalOrderId="+capitalOrderId+"]";
    }

}
